package com.mud.mudcommune.entry;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 2017/2/19 0019.
 */

public class SubjectEntry {
    @SerializedName("status")
    private int status;
    @SerializedName("data")
    private List<Subject> data;

    public int getStatus() {
        return status;
    }

    public List<Subject> getData() {
        return data;
    }

    public class Subject{
//                "topic_id":7,
//                "title":"好住好家",
//                "keywords":null,
//                "description":null,
//                "intro":null,
//                "start_time":1486656000,
//                "end_time":1487088000,
//                "topic_url":"http://m.n8house.com/zt/n8hzhj/",
//                "topic_img":"http://m.n8house.com/templets/default/img/bannerhzhj.jpg",
//                "topic_content":null,
//                "is_show":null,
//                "click_count":null,
//                "is_top":1
        @SerializedName("topic_id")
        private int topic_id;
        @SerializedName("title")
        private String title;
        @SerializedName("topic_url")
        private String topic_url;
        @SerializedName("topic_img")
        private String topic_img;
        @SerializedName("is_top")
        private int is_top;//1 为显示 0 为不显示

        public int getTopic_id() {
            return topic_id;
        }

        public String getTitle() {
            return title;
        }

        public String getTopic_url() {
            return topic_url;
        }

        public String getTopic_img() {
            return topic_img;
        }

        public int getIs_top() {
            return is_top;
        }
    }
}
